//
//  ZCRaiseCell.h
//  zctx
//
//  Created by 郭亚京 on 15/10/9.
//  Copyright © 2015年 sanliang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SDItemButton.h"
#import "RPFloatingPlaceholderTextView.h"
#define RaiseCellTextViewInfo @"备注信息"

typedef enum {
    RaiseCellTypeInput,
    RaiseCellTypeSelect,
    RaiseCellTypePush,
    RaiseCellTypeText,
    RaiseCellTypePrompt,
    RaiseCellTypeSao,
    RaiseCellTypemore
} RaiseCellType;

@protocol ZCRaiseCellDelegate <NSObject>
-(void)didSeclectButtonClick:(NSIndexPath *)index;
@end

@interface ZCRaiseCell : UITableViewCell

@property (nonatomic, strong) UIImageView *rightImgView;
@property (nonatomic, strong) UILabel *labelTitle;
@property (nonatomic, strong) UITextField *textField;
@property (nonatomic, strong) UIButton *buttonProvince;
@property (nonatomic, strong) UIButton *buttonCity;
@property (nonatomic, strong) UILabel *labelInfo;
@property (nonatomic, strong) UILabel *optionalLable;
@property (nonatomic, strong) SDItemButton *saoButton;
@property (nonatomic, strong) UIButton *titleButton;
@property (strong, nonatomic) RPFloatingPlaceholderTextView *textView;
@property (nonatomic, strong) void (^blockProvinceButtonClick)();
@property (nonatomic, strong) void (^blockCityButtonClick)();
@property (nonatomic, strong) void (^blockTextViewShouldBeginEdit)();
@property (nonatomic, strong) void (^blockTextViewDidEndEdit)();

@property (nonatomic,assign)id<ZCRaiseCellDelegate> delegate;
@property (nonatomic,strong)NSIndexPath *indexPath;

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier cellType:(RaiseCellType)type;

- (void)addOptionalLable;
@end
